package com.gcb.service;

import com.gcb.entity.PageResult;
import com.gcb.entity.QueryPageBean;
import com.gcb.entity.Result;
import com.gcb.pojo.CheckGroup;
import com.gcb.pojo.CheckItem;
import com.github.pagehelper.PageHelper;
import org.apache.dubbo.common.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author 35235
 * @Date 2021/8/5 8:34
 * @Version 1.0
 */

public interface CheckGroupService {
    PageResult queryQuery(QueryPageBean queryPageBean);

    List<CheckItem> findAllFromCheckItem();

    Result add(Integer[] checkItemIds, CheckGroup checkGroup);

    Result delete(Integer id);

    Result findById(Integer id);

    Result findCheckItemIdsByCheckGroupId(Integer id);

    Result update(Integer[] checkitemIds,CheckGroup checkGroup);
}
